/**  
* @author hongchun.li  
* @date 2013-4-20 下午11:54:34
* @version V1.0  
*/ 
package com.apis.security.entity.impl;

import com.apis.bussiness.entity.impl.EnterpriseImpl;
import com.apis.security.entity.IUser;

/**
 * @author hongchun.li
 *
 */
public class UserImpl implements IUser {

	private Integer id;
	private String name;
	private String password;
	private String telephone;
	private String address;
	private String email;
	private EnterpriseImpl enterprise;

	/* (non-Javadoc)
	 * @see com.apis.bussiness.entities.User#getId()
	 */
	@Override
	public Integer getId() {
		return this.id;
	}

	/* (non-Javadoc)
	 * @see com.apis.bussiness.entities.User#setId(java.lang.String)
	 */
	@Override
	public void setId(Integer id) {
		this.id = id;
	}

	/* (non-Javadoc)
	 * @see com.apis.bussiness.entities.User#getName()
	 */
	@Override
	public String getName() {
		return this.name;
	}

	/* (non-Javadoc)
	 * @see com.apis.bussiness.entities.User#setName(java.lang.String)
	 */
	@Override
	public void setName(String name) {
		this.name = name;
	}

	/* (non-Javadoc)
	 * @see com.apis.bussiness.entities.User#getPassword()
	 */
	@Override
	public String getPassword() {
		return this.password;
	}

	/* (non-Javadoc)
	 * @see com.apis.bussiness.entities.User#setPassword()
	 */
	@Override
	public void setPassword(String password) {
		this.password = password;
	}

	/* (non-Javadoc)
	 * @see com.apis.bussiness.entities.User#getTelephone()
	 */
	@Override
	public String getTelephone() {
		return this.telephone;
	}

	/* (non-Javadoc)
	 * @see com.apis.bussiness.entities.User#setTelephone()
	 */
	@Override
	public void setTelephone(String telephone) 
	{
		this.telephone = telephone;
	}

	/* (non-Javadoc)
	 * @see com.apis.bussiness.entities.User#getAddress()
	 */
	@Override
	public String getAddress() {
		return this.address;
	}

	/* (non-Javadoc)
	 * @see com.apis.bussiness.entities.User#setAddress(java.lang.String)
	 */
	@Override
	public void setAddress(String address) {
		this.address = address;
	}

	/* (non-Javadoc)
	 * @see com.apis.bussiness.entities.User#getEmail()
	 */
	@Override
	public String getEmail() {
		return this.email;
	}

	/* (non-Javadoc)
	 * @see com.apis.bussiness.entities.User#SetEmail(java.lang.String)
	 */
	@Override
	public void setEmail(String email) {
		this.email = email;
	}

	/* (non-Javadoc)
	 * @see com.apis.bussiness.entities.User#getEnterprise()
	 */
	@Override
	public EnterpriseImpl getEnterprise() {
		return this.enterprise;
	}

	/* (non-Javadoc)
	 * @see com.apis.bussiness.entities.User#getEnterprise(com.apis.bussiness.entities.Enterprise)
	 */
	@Override
	public void setEnterprise(EnterpriseImpl e) {
		this.enterprise = e;
	}

}
